import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:work/pages/main_page.dart';

class AppRoute {
  static final noExist = GetPage(
    name: '/noExist',
    page: () => const MainPage(),
  );
  static final pages = [
    GetPage(
      name: '/main',
      transition: Transition.fadeIn,
      showCupertinoParallax: false, // 关闭视差效果
      page: () => const MainPage(),
    ),
  ];
}
